home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 476-500 / disk_500 / wiconify / wiconify-source.lzh / Source / wExtern.c < prev    next >
C/C++ Source or Header  |  1991-04-19  |  3KB  |  57 lines

  1. /*
  2.  *  WICONIFY    A utility that allows you to iconify any Intuition window
  3.  *              on any screen, and to open WB windows on any screen.
  4.  *
  5.  *  wExtern.c   Common variables used by more than oe module.
  6.  *
  7.  *  Copyright 1990 by Davide P. Cervone, all rights reserved.
  8.  *  You may use this code, provided this copyright notice is kept intact.
  9.  */
  10.  
  11. #include "wHandler.h"
  12.  
  13. /*
  14.  *  The library pointers
  15.  */
  16.  
  17. struct IntuitionBase *IntuitionBase;
  18. struct GfxBase *GfxBase;
  19. struct LayersBase *LayersBase;
  20. struct SysBase *SysBase;
  21.  
  22. APTR IconTask;                      /* Pointer to the handler process */
  23. UBYTE EndSigBit,CloseSigBit;        /* Signals used for ending wIconify */
  24. ULONG EndSignal,CloseSignal;        /*  and for closing screens */
  25. WSCREEN *FirstScreen;               /* Linked list of screen structures */
  26. WSCREEN *WBScreen;                  /* Current WB screen */
  27. WSCREEN *RealWB;                    /* pointer to the real WB screen */
  28. struct MsgPort *wUserPort;          /* Userport for all wIconify windows */
  29. struct MsgPort *wIconPort;          /* Port for wIconify messages */
  30. char *wIconifyTitle = ICONIFYTITLE; /* Screen title for wIconify windows */
  31. struct Window *ActiveWindow;        /* Current active wIconify window */
  32. struct Image DefaultIcon =
  33.    {0,0, ICONWIDTH,ICONHEIGHT,ICONDEPTH, &IconData[0][0], 3,0, NULL};
  34. struct Image DefaultScreenIcon =
  35.    {0,0, ICONWIDTH,ICONHEIGHT,ICONDEPTH, &ScreenIconData[0][0], 3,0, NULL};
  36.  
  37. char *HiResCLICommand;              /* Text for NewCLI menu on HIRES screens */
  38. char *LoResCLICommand;              /* Text for NewCLI menu on LORES screens */
  39. long StackSize;                     /* Stack size for NewCLI commands */
  40. struct Image *DefaultImage;         /* Default icon Image */
  41. struct Image *DefaultSelect;        /* Default icon Select Image */
  42. struct Image *DefaultMask;          /* Default icon Mask image */
  43. struct Image *DefaultScreenImage;   /* Default screen icon Image */
  44. struct Image *DefaultScreenSelect;  /* Default screen icon Select image */
  45. struct Image *DefaultScreenMask;    /* Default screen icon Mask image */
  46. ULONG DefaultFlags;                 /* Default icon flags */
  47. ULONG DefaultScreenFlags;           /* Default screen icon flags */
  48. struct Ignore *IgnoreScreen;        /* List of screen titles to ignore */
  49. UBYTE IconifyKey,ActivateKey;       /* Key codes for hot keys */
  50. UWORD IconifyQuals,IconifyDisquals,IconifyChange;
  51. UWORD ActivateQuals;
  52. UWORD Colors[32] =                  /* Default screen colors for new screens */
  53.    {NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,
  54.     NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,
  55.     NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,
  56.     NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR,NOCOLOR};
  57.